package cn.edu.neu.simpleppt;

import javafx.scene.paint.Color;
import javafx.scene.text.TextAlignment;

public class ShapeSettings {
    public Color background;
    public Color foreground;
    public double lineWidth;
    public double lineGaps;
    public String text;
    public TextAlignment textAlign;
    public double fontSize;
    public Color fontColor;

    public static ShapeSettings defaultSettings() {
        ShapeSettings ds = new ShapeSettings();
        ds.background = Color.TRANSPARENT;
        ds.foreground = Color.BLACK;
        ds.lineWidth = 2;
        ds.lineGaps = 0;
        ds.text = "我能吞下玻璃而不伤害身体";
        ds.textAlign = TextAlignment.LEFT;
        ds.fontSize = 18;
        ds.fontColor = Color.BLACK;
        return ds;
    }
}
